import { IsNotEmpty, IsOptional } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class ShopCreateDto {
    /**
     * 店铺名称
     */
    @ApiProperty({
        description: '店铺名称',
        required: true,
    })
    @IsNotEmpty({
        message: '店铺名称不能为空',
    })
    name: string;

    /**
     * 店铺图片
     */
    @ApiProperty({
        description: '店铺图片',
        required: true,
    })
    @IsNotEmpty({
        message: '店铺图片不能为空',
    })
    thumb_url: string;

}
